<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/tag/sys" prefix="sys"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
<base href="<sys:baseUrl/>"/>
<link rel="stylesheet" href="admin/style/common.css" type="text/css" />
<link rel="stylesheet" href="admin/style/item_list.css" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/endless_scroll.js"></script>
<script type="text/javascript" src="js/list_public_json_ajax.js"></script>
<script type="text/javascript" src="admin/js/news_list.js"></script>
<script type="text/javascript" src="admin/js/toolbar.js"></script>
<link rel="stylesheet" href="admin/style/toolbar.css" type="text/css" />
<script type="text/javascript" src="js/thickbox.js"></script>
<link rel="stylesheet" href="style/thickbox.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理新闻</title>
</head>
<body>
<a id="base_url" href="<sys:baseUrl/>"></a>
<div id="toolbar">
<span id="search_box">
	<select id="special_sort" name="special_sort">
		<option value="_/_">全部分类</option>
		<c:forEach items="${operator.specials }" var="sp">
		<c:if test="${sp.name==specialName&&(sortName=='_'||sortName==null) }">
			<option selected="selected" value="${sp.name }/_">${sp.name }</option>
		</c:if>
		<c:if test="${sp.name!=specialName||!(sortName=='_'||sortName==null) }">
			<option value="${sp.name }/_">${sp.name }</option>
		</c:if>
		</c:forEach>
		<c:forEach items="${operator.sorts }" var="sort">
		<c:if test="${sort.special.name==specialName&&sort.name==sortName }">
			<option selected="selected" value="${sort.special.name }/${sort.name }">${sort.special.name }&gt;${sort.name }</option>
		</c:if>
		<c:if test="${sort.special.name!=specialName||sort.name!=sortName }">
			<option value="${sort.special.name }/${sort.name }">${sort.special.name }&gt;${sort.name }</option>
		</c:if>
		</c:forEach>
	</select>
	<input id="keywords" value="${keyword}"/>
	<input type="button" value="搜索..." onclick="search()">
</span>
</div>
<div class="center_area" id="body">
<table id="news_list">
<tr>
	<th width="38%">标题</th>
	<th width="12%">发布者</th>
	<th width="20%">发布时间</th>
	<th>操作</th>
</tr>
</table>
</div>
</body>
</html>